Everything a store needs, in one engine
Orders, stock, checkout, customers, payouts, and analytics are first-class objects in one API. What the admin can do, your code can do.
Read the docsEvery order, one ledger
Orders, refunds, exchanges, and payouts are entries in one append-only ledger, so the number on the dashboard is the number in the bank. Filter by anything, export nothing.
Orders 1,482 this month
- All
- Unfulfilled
- Paid
- Refunded
| Order | Customer | Total | Status |
|---|---|---|---|
| #48213 | Lena Ortiz Berlin | $136.00 | Paid |
| #48212 | Noah Bergström Stockholm | $118.00 | Paid |
| #48211 | Priya Raman Austin | $64.50 | Fulfilled |
| #48210 | Tomás Ferreira Lisbon | $226.00 | Paid |
| #48209 | Mei Tanaka Osaka | $66.00 | Refunded |
| #48208 | Sam Okafor London | $112.00 | Fulfilled |
Stock that reconciles itself
Every channel, warehouse, and return updates the same count in real time. Set a threshold per SKU and Mercury reserves, restocks, and warns before a sale ever oversells.
Products
4 low on stock
-
Ridge Shell Jacket JKT-RIDGE-M
$240312 in stock
-
Trail Tee, Black TEE-BLACK-M
$381,204 in stock
-
Merino Base Layer BASE-MER-L
$9627 in stock
Low -
Down Vest, Sand VEST-DOWN-S
$18088 in stock
Checkout in one page and 41 seconds
Hosted at the edge, themed to your store, with Apple Pay, Google Pay, and saved cards. Address lookup, tax, and shipping resolve as the customer types. Median time from cart to paid is 41 seconds.
Northwind
Secure checkout
or pay with card
lena@example.com
Card
4242 4242 4242 4242
08 / 29
123
- Ridge Shell Jacket Medium · Slate $240.00
- Trail Tee, Black Medium · Qty 1 $38.00
- Subtotal
- $278.00
- Shipping
- Free
- Sales tax (8%)
- $22.24
- Total
- $300.24
Integrate tonight
One API, typed SDKs in five languages, and a hosted checkout you can create in a single call. Everything the admin does, your code can do.
import Mercury from '@mercury/sdk';
const mercury = new Mercury(process.env.MERCURY_KEY);
const checkout = await mercury.checkouts.create({
currency: 'EUR',
items: [{ sku: 'TEE-BLACK-M', quantity: 2 }],
shipping: 'express',
successUrl: 'https://store.example/thanks',
});
console.log(checkout.url); // hosted, one page, 41s median
import mercury
client = mercury.Client(api_key=os.environ["MERCURY_KEY"])
checkout = client.checkouts.create(
currency="EUR",
items=[{"sku": "TEE-BLACK-M", "quantity": 2}],
shipping="express",
success_url="https://store.example/thanks",
)
print(checkout.url) # hosted, one page, 41s median
use Mercury\Client;
$mercury = new Client(getenv('MERCURY_KEY'));
$checkout = $mercury->checkouts->create([
'currency' => 'EUR',
'items' => [['sku' => 'TEE-BLACK-M', 'quantity' => 2]],
'shipping' => 'express',
'successUrl' => 'https://store.example/thanks',
]);
echo $checkout->url; // hosted, one page, 41s median
package main
import "github.com/mercury-commerce/mercury-go"
func main() {
client := mercury.New(os.Getenv("MERCURY_KEY"))
checkout, err := client.Checkouts.Create(mercury.CheckoutParams{
Currency: "EUR",
Items: []mercury.Item{{SKU: "TEE-BLACK-M", Quantity: 2}},
Shipping: "express",
SuccessURL: "https://store.example/thanks",
})
fmt.Println(checkout.URL) // hosted, one page, 41s median
}
curl https://api.mercury.dev/v1/checkouts \
-u "$MERCURY_KEY:" \
-d currency=EUR \
-d "items[0][sku]=TEE-BLACK-M" \
-d "items[0][quantity]=2" \
-d shipping=express \
-d success_url=https://store.example/thanks
# { "id": "chk_9f2a", "url": "https://pay.mercury.dev/chk_9f2a" }
And the rest of the engine
Every one of these is included in every plan, self-hosted or Cloud, and exposed through the same API.
- Headless storefront
- Ship the front end you want in Next, Nuxt, or plain HTML. Mercury serves the catalog, cart, and checkout over one typed API.
- Instant checkout
- A hosted, one-page checkout with Apple Pay, Google Pay, and saved cards. Median time to paid: 41 seconds.
- Inventory that reconciles itself
- Stock levels update from every channel, warehouse, and return in real time, with low-stock thresholds per SKU.
- Multi-currency and tax
- Sell in 135 currencies with automatic VAT, GST, and US sales tax at the line-item level. Filing exports included.
- PCI DSS Level 1
- Card data never touches your servers. Mercury tokenizes at the edge and holds SOC 2 Type II and ISO 27001.
- Revenue analytics
- Cohorts, repeat rate, and margin by product, without exporting a CSV. Every chart links back to the orders behind it.
- Subscriptions and bundles
- Recurring orders, dunning, pause and skip, and bundle pricing rules, all modeled as ordinary orders your code already handles.
- Customer accounts
- Passwordless sign-in, addresses, order history, and returns, themed to your storefront with a few lines of config.
- Open API and webhooks
- REST and GraphQL, first-party SDKs in five languages, and signed webhooks for every event. Apache 2.0, forever.
Own the store. Start tonight.
Clone the repo, or open a Cloud project and be selling before the coffee cools.